import api from '../api';

const getListAsync = async (data) => {
    return await api.postWithToken({
        command: 'I_StockFunds_GetStockFunds',
        data
    });
};

const addListAsync = async (data) => {
    return await api.postWithToken({
        command: 'I_StockFunds_New',
        data
    })
}

const getStocksAsync = async (data) => {
    return await api.postWithToken({
        command: 'I_Stock_GetStocks',
        data
    })
}




export default {
    getListAsync,
    addListAsync,
    getStocksAsync,
}